﻿using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;

namespace Room
{
    public class RoomCardView : RoomBase
    {
        public override void Init()
        {
        }

        protected override void OnEnter(params object[] param)
        {
            if (!inited)
            {
                Init();
            }
            if (UnityEngine.SceneManagement.SceneManager.GetActiveScene().name != "empty")
            {
                UnityEngine.SceneManagement.SceneManager.LoadScene("empty");
            }
        }
    }
}
